package org.database.service;

import java.util.HashMap;
import java.util.List;

import org.database.mapper.TaskMapper;
import org.database.quartz.TaskScheduled;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TaskService {

	private Logger logger = LoggerFactory.getLogger(getClass());

	@Autowired
	private TaskMapper taskMapper;

	public List<TaskScheduled> getTaskList() {
		return taskMapper.getTaskList();
	}

	public List<TaskScheduled> getTaskListByParam(HashMap paramMap) {
		return taskMapper.getTaskListByParam(paramMap);
	}

}

